package 首尾哨兵;

public class test {
    public static void main(String[] args) {
        Node1 list=new Node1();
        list.addLast(1);
        list.addLast(2);
        list.addLast(3);
       /* list.loop();
       list.removeLast();
       list.loop();*/
        for(Integer value:list){
            System.out.println(value);
        }
    }
}
